package com.bridgeintelligent.tag.engine.api;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.util.List;

/**
 * Created by JackCheung on 2019/10/14 5:01 PM.
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class Filter {

    /**
     * 过滤值数组
     */
    private List<String> valueList;
    /**
     * 标签ID
     */
    private String dimId;
    /**
     * 逻辑条件，具体有以下内容
     * "equal";等于
     * "no_equal";不等于
     * "greater";大于
     * "less";小于
     * "greater_equal";大于等于
     * "less_equal";小于等于
     * "among";在……之中
     * "term";存在&包含
     * "noTerm";不存在
     */
    private String type;
    /**
     * 数据日期
     */
    private String dataDate;
    /**
     * 时间类型 静态true 动态false
     */
    private boolean timeType;

    /**
     * 索引ID
     */
    private String indexId;
}
